import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router';
import VueAMap from 'vue-amap'


Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(VueAMap);
window._AMapSecurityConfig = {
  securityJsCode:'c37e09809a91a348f59326c36756d363',
}

VueAMap.initAMapApiLoader({
  //修改下面的key值
    key: '235f871af2877d87d55896a3a834d741',
    plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor','AMap.Geolocation','AMap.Driving'],
    // 默认高德 sdk 版本为 1.4.4
    v: '1.4.4',
    uiVersion: '1.0'
  });
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
